﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MMOShardServer
{
    class Program
    {
        private static readonly string ServerAddress = "127.0.0.1";
        private static readonly ushort ServerPort = 2011;
 
        static void Main(string[] args)
        {
            Console.WriteLine("===============================\n= MMOShard Server\n= Basic Implementation\n===============================");
            Network n = new Network(ServerAddress,ServerPort);
            Console.WriteLine("= Server started on {0} at port {1}", ServerAddress, ServerPort);
            while (true)
            {
                n.Update();
            }
            Console.WriteLine("= Closing server...\n===============================");
        }
    }
}
